aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithGlobalImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
blob: ef15199b4cb546228c8851ad0a9a6a1dbd0eb10f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module.wasm:	file format wasm 0x1

Section Details:

Import[2]:
 - global[0] i32 mutable=1 <- ModuleName1.EntityName1
 - global[1] i64 mutable=0 <- ModuleName2.EntityName2
Custom:
 - name: "linking"
  - symbol table [count=2]
   - 0: G <Global1> global=0 [ undefined explicit_name binding=global vis=default ]
   - 1: G <Global2> global=1 [ undefined explicit_name binding=global vis=default ]
Custom:
 - name: "name"
 - global[0] <Global1>
 - global[1] <Global2>

Code Disassembly: